<template>

    <el-container>
        <el-header><h1>职业编辑</h1></el-header>
        <el-container>
            <el-aside width="300px">
                <career-edit-form :career-id="careerId"></career-edit-form>

            </el-aside>
            <el-main>
                <career-skills-editor :career-id="careerId"></career-skills-editor>
            </el-main>
        </el-container>
    </el-container>

</template>

<script>
    import CareerEditForm from "../components/CareerEditForm";
    import CareerSkillsEditor from "../components/CareerSkillsEditor";

    export default {
        components: {CareerEditForm, CareerSkillsEditor},
        props: {}, data() {
            return {}
        }, computed: {
            careerId() {
                return parseInt(this.$route.params.career);
            }
        }, methods: {}, created() {

        }
    }
</script>

<style scoped>

</style>